import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const project: AppRouteModule = {
  path: '/ioTPresentation',
  name: 'IoTPresentation',
  component: LAYOUT,
  redirect: '/ioTPresentation/equipmentCard',
  id: '6',
  meta: {
    orderNo: 6,
    icon: 'mdi:robot-industrial-outline',
    title: '物联呈现',
  },
  children: [
    {
      id: '6-1',
      path: 'equipmentCard',
      name: 'EquipmentCardIndexPage',
      component: () => import('/@/views/project/equipmentCard/index.vue'),
      meta: {
        title: '设备卡片',
      },
    },
    {
      id: '6-2',
      path: 'equipmentStatus',
      name: 'EquipmentStatusIndexPage',
      component: () => import('/@/views/project/equipmentStatus/index.vue'),
      meta: {
        title: '设备状态',
      },
    },
    {
      id: '6-3',
      path: 'eqIntegrationPage',
      name: 'EqIntegrationIndexPage',
      component: () => import('/@/views/project/eqIntegration/index.vue'),
      meta: {
        title: '实时工况',
      },
    },
    {
      id: '6-4',
      path: 'diagnosis',
      name: 'DiagnosisPage',
      component: () => import('/@/views/project/diagnosis/index.vue'),
      meta: {
        title: '设备工况',
      },
    },
    {
      id: '6-5',
      path: 'detail',
      name: 'EqIntegrationDetailPage',
      component: () => import('/@/views/project/eqIntegration/detail.vue'),
      meta: {
        hideMenu: true,
        title: '单一设备实时工况',
      },
    },
  ],
};

export default project;
